#pragma once

#include "DriverModule/BaseDriver.h"

class IO;
using IOPtr = std::shared_ptr<IO>;

class IO : public BaseDriver
{
public:
    IO(const std::string& name = "");
    virtual ~IO(){}

    virtual bool Init() override;

    bool GetIO();
    void SetIO(bool on);

private:
    bool m_on = false;      // IO位是否打开

};